package com.emptyMe.product.service;

import com.emptyMe.basic.utils.AjaxResult;
import com.emptyMe.product.domain.Product;
import com.emptyMe.product.query.ProductQuery;

import java.util.List;

public interface IProductService {
    AjaxResult loadAll(ProductQuery query);

    AjaxResult addOrUpdate(Product product);

    AjaxResult remove(Long id);

    AjaxResult removeMany(List<Product> products);
}
